package a.c;

final class h
  implements x
{
  int a;
  String b;
  boolean c = false;
  l e;
  static final Integer[] g = p.e;
  static final Integer[] h = p.f;
  
  h(int paramInt, String paramString, l paraml)
  {
    this.a = paramInt;
    this.b = paramString;
    this.e = paraml;
  }
  
  public void a(Object paramObject1, Object paramObject2)
  {
    int i = z.f;
    try
    {
      if (i == 0) {
        if (((c)paramObject1).d.length > this.a)
        {
          if (i != 0) {
            break label50;
          }
          ((c)paramObject1).d[this.a] = paramObject2;
          if (z.e == 0) {
            return;
          }
        }
      }
      label50:
      c localc1 = (c)paramObject1;
      this.e.a(localc1, localc1.d.length, this.e.a);
      a(paramObject1, paramObject2);
    }
    catch (IndexOutOfBoundsException localIndexOutOfBoundsException)
    {
      c localc2 = (c)paramObject1;
      this.e.a(localc2, localc2.d.length, this.e.a);
      a(paramObject1, paramObject2);
    }
  }
  
  public Object get(Object paramObject)
  {
    try
    {
      if ((z.f != 0) || (((c)paramObject).d.length > this.a)) {
        return ((c)paramObject).d[this.a];
      }
      return null;
    }
    catch (IndexOutOfBoundsException localIndexOutOfBoundsException)
    {
      c localc = (c)paramObject;
      this.e.a(localc, localc.d.length, this.e.a);
    }
    return null;
  }
  
  public void a(Object paramObject, boolean paramBoolean)
  {
    try
    {
      if (z.f == 0) {
        if (((c)paramObject).d.length > this.a)
        {
          ((c)paramObject).d[this.a] = (paramBoolean ? Boolean.TRUE : Boolean.FALSE);
          if (z.e == 0) {
            return;
          }
        }
      }
      c localc1 = (c)paramObject;
      this.e.a(localc1, localc1.d.length, this.e.a);
      a(paramObject, paramBoolean);
    }
    catch (IndexOutOfBoundsException localIndexOutOfBoundsException)
    {
      c localc2 = (c)paramObject;
      this.e.a(localc2, localc2.d.length, this.e.a);
      a(paramObject, paramBoolean);
    }
  }
  
  public boolean getBool(Object paramObject)
  {
    int i = z.f;
    try
    {
      if (i == 0) {
        if (((c)paramObject).d.length > this.a)
        {
          Object localObject = ((c)paramObject).d[this.a];
          if (i == 0) {
            if (localObject == null) {
              return false;
            }
          }
          return ((Boolean)localObject).booleanValue();
        }
      }
      return false;
    }
    catch (IndexOutOfBoundsException localIndexOutOfBoundsException)
    {
      c localc = (c)paramObject;
      this.e.a(localc, localc.d.length, this.e.a);
    }
    return getBool(paramObject);
  }
  
  public void a(Object paramObject, int paramInt)
  {
    int j = z.f;
    int i = z.e;
    try
    {
      if (j == 0) {
        if (((c)paramObject).d.length > this.a)
        {
          if (j == 0) {
            if (paramInt >= 0)
            {
              if (j == 0) {
                if (paramInt < g.length)
                {
                  ((c)paramObject).d[this.a] = g[paramInt];
                  if (j == 0) {
                    if (i == 0) {
                      return;
                    }
                  }
                }
                else
                {
                  ((c)paramObject).d[this.a] = new Integer(paramInt);
                }
              }
              if ((j == 0) && (i == 0)) {
                return;
              }
            }
          }
          if (j == 0) {
            if (paramInt > -h.length)
            {
              ((c)paramObject).d[this.a] = h[(-paramInt)];
              if (j == 0) {
                if (i == 0) {
                  return;
                }
              }
            }
            else
            {
              if (j != 0) {
                break label182;
              }
              ((c)paramObject).d[this.a] = new Integer(paramInt);
            }
          }
          if (i == 0) {
            return;
          }
        }
      }
      label182:
      c localc1 = (c)paramObject;
      this.e.a(localc1, localc1.d.length, this.e.a);
      a(paramObject, paramInt);
    }
    catch (IndexOutOfBoundsException localIndexOutOfBoundsException)
    {
      c localc2 = (c)paramObject;
      this.e.a(localc2, localc2.d.length, this.e.a);
      a(paramObject, paramInt);
    }
  }
  
  public int getInt(Object paramObject)
  {
    int i = z.f;
    try
    {
      if (i == 0) {
        if (((c)paramObject).d.length > this.a)
        {
          Object localObject = ((c)paramObject).d[this.a];
          if (i == 0) {
            if (localObject == null) {
              return 0;
            }
          }
          return ((Number)localObject).intValue();
        }
      }
      return 0;
    }
    catch (IndexOutOfBoundsException localIndexOutOfBoundsException)
    {
      c localc = (c)paramObject;
      this.e.a(localc, localc.d.length, this.e.a);
    }
    return getInt(paramObject);
  }
  
  public void a(Object paramObject, double paramDouble)
  {
    int i = z.f;
    try
    {
      if (i == 0) {
        if (((c)paramObject).d.length > this.a)
        {
          if (i != 0) {
            break label57;
          }
          ((c)paramObject).d[this.a] = new Double(paramDouble);
          if (z.e == 0) {
            return;
          }
        }
      }
      label57:
      c localc1 = (c)paramObject;
      this.e.a(localc1, localc1.d.length, this.e.a);
      a(paramObject, paramDouble);
    }
    catch (IndexOutOfBoundsException localIndexOutOfBoundsException)
    {
      c localc2 = (c)paramObject;
      this.e.a(localc2, localc2.d.length, this.e.a);
      a(paramObject, paramDouble);
    }
  }
  
  public double getDouble(Object paramObject)
  {
    int i = z.f;
    try
    {
      if ((i != 0) || (((c)paramObject).d.length > this.a))
      {
        Object localObject = ((c)paramObject).d[this.a];
        if (i == 0) {
          if (localObject == null) {
            return 0.0D;
          }
        }
        return ((Number)localObject).doubleValue();
      }
      return 0.0D;
    }
    catch (IndexOutOfBoundsException localIndexOutOfBoundsException)
    {
      c localc = (c)paramObject;
      this.e.a(localc, localc.d.length, this.e.a);
    }
    return getDouble(paramObject);
  }
  
  public String toString()
  {
    return getClass() + " : " + this.b + " : " + this.a;
  }
  
  public boolean a()
  {
    return this.c;
  }
  
  public void b()
  {
    this.c = true;
  }
}


/* Location:           E:\idea\
 * Qualified Name:     a.c.h
 * JD-Core Version:    0.7.0.1
 */